Skip to content

Make matches_pattern support _ at the top level in braced structs.#535

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_703619892
Dec 9, 2024
Merged

Make matches_pattern support _ at the top level in braced structs.#535
copybara-service[bot] merged 1 commit intomainfrom
test_703619892

Conversation

@copybara-service
Copy link

Make matches_pattern support _ at the top level in braced structs.

This change is not backward-compatible since:

  • Some things that previously fell back to match pattern matching now use match_pattern!'s specialized matching, which requires the matched object to implement Debug.

Toward #447

This change is not backward-compatible since:
* Some things that previously fell back to `match` pattern matching now use `match_pattern!`'s specialized matching, which requires the matched object to implement `Debug`.

Toward #447

PiperOrigin-RevId: 704278061
@copybara-service copybara-service bot merged commit 3d65dea into main Dec 9, 2024
@copybara-service copybara-service bot deleted the test_703619892 branch December 9, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant